/* Blog-specific styles */
.blog-theme {
	--blog-primary-color: #3eaf7c;
	--blog-text-color: #2c3e50;
	--blog-bg-color: #ffffff;
	--blog-header-bg: #f8f8f8;
	--blog-border-color: #eaecef;
	--blog-code-bg: #f8f8f8;
	--blog-code-color: #476582;
	--blog-link-color: #3eaf7c;
	--blog-link-hover-color: #4abf8a;
}

.dark .blog-theme {
	--blog-text-color: #f0f0f0;
	--blog-bg-color: #1a1a1a;
	--blog-header-bg: #252525;
	--blog-border-color: #333;
	--blog-code-bg: #282c34;
	--blog-code-color: #a8b1c2;
	--blog-link-color: #4abf8a;
	--blog-link-hover-color: #5ecf9a;
}

/* Blog index page styles */
.blog-post-list {
	/* display: grid; */
	/* grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); */
	/* gap: 2rem; */
	/* margin-top: 2rem; */
}

.blog-post-card {
	border: 1px solid var(--blog-border-color);
	border-radius: 8px;
	padding: 1.5rem;
	transition: transform 0.2s, box-shadow 0.2s;
	width: 100%;
	/* Take full width of the container */
}

.blog-post-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-post-card h3 {
	margin-top: 0;
	font-size: 1.3rem;
}

.blog-post-card h3 a {
	color: var(--blog-primary-color);
	text-decoration: none;
}

.blog-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1rem;
	font-size: 0.9rem;
	color: var(--blog-text-color);
	opacity: 0.8;
}

.blog-post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.blog-post-tag {
	font-size: 0.8rem;
	padding: 0.2rem 0.6rem;
	border-radius: 4px;
	background-color: var(--blog-primary-color);
	color: white;
	opacity: 0.8;
}

.blog-post-read-more {
	display: inline-block;
	margin-top: 1rem;
	color: var(--blog-primary-color);
	font-weight: 500;
	text-decoration: none;
}

@media (max-width: 768px) {
	.blog-post-list {
		grid-template-columns: 1fr;
	}
}